package com.itestor.iptv.exceptions;

/**
 * 
 * @author Mr.li
 *
 */
public class ApplicationException extends RuntimeException {

    /**
     * serialVersionUID.
     */
    private static final long serialVersionUID = 621147947152378103L;

    /**
     * 对应模块.
     */
    private String bundle = null;

    /**
     * @param errorMessage 异常信息
     */
    public ApplicationException(String errorMessage) {
        super(errorMessage);
    }

    /**
     * @param errorMessage 异常信息
     * @param pBundle 对应模块
     */
    public ApplicationException(String errorMessage, String pBundle) {
        super(errorMessage);
        this.bundle = pBundle;
    }

    /**
     * @return the bundle
     */
    public String getBundle() {
        return bundle;
    }

    /**
     * @param pBundle the bundle to set
     */
    public void setBundle(String pBundle) {
        this.bundle = pBundle;
    }

}
